python compiler to exe

45

import os
os.startfile("C:\Documents and Settings\flow_model\flow.exe")
# In the command line, install pyinstaller
python -m pip install pyinstaller

# You might need to add pyinstaller to path. You can do that
# by adding the "scripts" folder in your python installation to path
pyinstaller yourprogram.py
Exe (Compiled using pyinstaller) --> Python

1.) Download https://sourceforge.net/projects/pyinstallerextractor/

2.) python pyinstxtractor.py executable.exe

Credits & Source: https://stackoverflow.com/questions/36581073/exe-to-python-with-pyinstaller

Comments

Submit
0 Comments